import { Empty } from 'antd-mobile'
import React, { FC, useEffect, useState } from 'react'
import { useNavigate, useParams } from 'react-router-dom'
import { ajax } from '../../../api'
import Myhead from '../../../components/myhead'

const  BookDetailed:FC<any>=()=> {
  const [obj,setObj] = useState<any>(null)
  const params = useParams()
  const navigate = useNavigate()
   //获取图书信息，
   useEffect(()=>{
      // ajax.getannoone({
      //   skuId:params.aid 
      // })
      // .then(res=>{
      //     if(res.code==200){
      //         setObj(res.result)
      //     }
      // })
  },[])
  return (
   
    <div style={{position:"relative"}} className="paddingtop">
            <Myhead title="图书详情" back={true}></Myhead>
            <div style={{width:"100%"}}>
            <Empty description='暂时没有权限' />
            </div>
            
    </div>
    
  )
}
export default BookDetailed
